package com.ruoyi.project.user.mapper;

import java.util.List;
import com.ruoyi.project.user.domain.BinsViolationRecord;

/**
 * 违规记录Mapper接口
 * 
 * @author administrator
 * @date 2025-04-03
 */
public interface BinsViolationRecordMapper 
{
    /**
     * 查询违规记录
     * 
     * @param violationId 违规记录主键
     * @return 违规记录
     */
    public BinsViolationRecord selectBinsViolationRecordByViolationId(Long violationId);

    /**
     * 查询违规记录列表
     * 
     * @param binsViolationRecord 违规记录
     * @return 违规记录集合
     */
    public List<BinsViolationRecord> selectBinsViolationRecordList(BinsViolationRecord binsViolationRecord);

    /**
     * 新增违规记录
     * 
     * @param binsViolationRecord 违规记录
     * @return 结果
     */
    public int insertBinsViolationRecord(BinsViolationRecord binsViolationRecord);

    /**
     * 修改违规记录
     * 
     * @param binsViolationRecord 违规记录
     * @return 结果
     */
    public int updateBinsViolationRecord(BinsViolationRecord binsViolationRecord);

    /**
     * 删除违规记录
     * 
     * @param violationId 违规记录主键
     * @return 结果
     */
    public int deleteBinsViolationRecordByViolationId(Long violationId);

    /**
     * 批量删除违规记录
     * 
     * @param violationIds 需要删除的数据主键集合
     * @return 结果
     */
    public int deleteBinsViolationRecordByViolationIds(Long[] violationIds);
}
